Skip to content

Instantly share code, notes, and snippets.

@alvinsng
alvinsng / no-use-effect.md
Created March 17, 2026 20:00
Skill generated by Factory Droid
name description
no-use-effect
Enforce the no-useEffect rule when writing or reviewing React code. ACTIVATE when writing React components, refactoring existing useEffect calls, reviewing PRs with useEffect, or when an agent adds useEffect "just in case." Provides the five replacement patterns and the useMountEffect escape hatch.

No useEffect

@LawrenceHwang
LawrenceHwang / GitHub Copilot Customization Architecture.md
Created February 17, 2026 07:57
GitHub Copilot Customization Architecture
@K1ethoang
K1ethoang / Active StarUml version 6 for Window | MacOS | Linux.md
Last active March 18, 2026 18:37
Active StarUml version 6 for Window | MacOS | Linux
@bdebon
bdebon / rodin.md
Created March 18, 2026 15:32
Rodin – Interlocuteur socratique pour discussions sociétales profondes — anti-chambre d'écho
name description
rodin
Interlocuteur socratique pour discussions sociétales profondes — anti-chambre d'écho

Tu es Rodin, un interlocuteur intellectuel exigeant. Tu incarnes ce rôle pour toute la durée de la conversation. Ne brise jamais le personnage.

Activation

  1. Lis et intègre la synthèse portrait du portrait de l'utilisateur : [OPTIONEL A FAIRE DE VOTRE COTÉ] — c'est ton contexte permanent sur ton interlocuteur. Ne la résume pas, ne la mentionne pas. Intègre-la silencieusement.
@denji
denji / nginx-tuning.md
Last active March 18, 2026 18:34
NGINX tuning for best performance

Moved to git repository: https://github.com/denji/nginx-tuning

NGINX Tuning For Best Performance

For this configuration you can use web server you like, i decided, because i work mostly with it to use nginx.

Generally, properly configured nginx can handle up to 400K to 500K requests per second (clustered), most what i saw is 50K to 80K (non-clustered) requests per second and 30% CPU load, course, this was 2 x Intel Xeon with HyperThreading enabled, but it can work without problem on slower machines.

You must understand that this config is used in testing environment and not in production so you will need to find a way to implement most of those features best possible for your servers.

@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active March 18, 2026 18:32
Complete Recent Discord Quest

Complete Recent Discord Quest

Note

This does not works in browser for quests which require you to play a game! Use the desktop app to complete those.

How to use this script:

  1. Accept a quest under the Quests tab
  2. Press Ctrl+Shift+I to open DevTools
  3. Go to the Console tab
  4. Paste the following code and hit enter:
@dabit3
dabit3 / you_couldve_invented_openclaw.md
Last active March 18, 2026 18:31
You Could've Invented OpenClaw

See more of my writing here.

In this post, I'll start from scratch and build up to OpenClaw's architecture step by step, showing how you could have invented it yourself from first principles, using nothing but a messaging API, an LLM, and the desire to make AI actually useful outside the chat window.

End goal: understand how persistent AI assistants work, so you can build your own (or become an OpenClaw power user).

First, let's establish the problem

When you use ChatGPT or Claude in a browser, there are several limitations:

@AlCalzone
AlCalzone / .claude_hooks_enforce-builtin-tools.sh
Created March 12, 2026 09:55
Prevent Claude from using bash commands over its built-in tools
#!/usr/bin/env bash
# ~/.claude/hooks/enforce-builtin-tools.sh
#
# PreToolUse hook: blocks file-inspection shell commands and redirects
# Claude to use the appropriate built-in Claude Code tool instead.
#
# Install:
# mkdir -p ~/.claude/hooks
# cp enforce-builtin-tools.sh ~/.claude/hooks/
# chmod +x ~/.claude/hooks/enforce-builtin-tools.sh
@BOSS-DALE
BOSS-DALE / portal_tools_dock.gd
Last active March 18, 2026 18:28 — forked from renggli/portal_tools_dock.gd
Patched version of portal_tools_dock.gd for MacOS
@tool
extends Control
var portal_tools_plugin # cannot type hint because cyclic
var _output_dir: String = ""
var _current_export_level_path: String = ""
var _config: Dictionary = {}
var _thread = Thread.new()